<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
    <meta charset="UTF-8">
    <title>stu add</title>
</head>
<body>

<form  method="post" th:action="@{/submit_course_add}" >
    课程代码：<input type="text" name="stuNumber" ><br>
    课程名：<input type="text" name="stuName" ><br>
    <label style="color: red" th:text="${courseMsg}" th:if="${not #strings.isEmpty(courseMsg)}"></label>
    <input type="submit" value="添加">
</form>

</body>
</html>